const WantBuy=require('../model/wantBuy.model')
class WantBuyS{
       async addWantBuy(data){
           console.log(data)
           const res=await WantBuy.create(data)
           console.log(res)
           return res.dataValues
       }
       async getList(){
           const res=await WantBuy.findAll()
           return res
       }
}
module.exports=new WantBuyS()